package com.xiguaji.tiktok.v1.tiktok.blogger.repository;

import com.xiguaji.tiktok.v1.tiktok.blogger.model.BloggerMarket;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;


import java.util.Optional;

/**
 * BloggerMarket Dao
 */
@Repository
public interface BloggerMarketRepository extends CrudRepository<BloggerMarket,Long> {

    /**
     * 根据 coreUserId 查询星图数据
     * @param coreUserId 博主id
     * @return
     */
    Optional<BloggerMarket> findByCoreUserId(long coreUserId);
}
